﻿<%@ Page ValidateRequest="false" Language="C#" Theme="WebMaster" MasterPageFile="~/WebMaster/MasterPage.master"
    AutoEventWireup="true" Inherits="SouthernLand.WebMaster.Contents" CodeBehind="Contents.aspx.cs" %>

<%@ Register Src="~/WebMaster/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.BOL.Content" Assembly="SouthernLand" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" runat="Server">
    <uc:Title runat="server" ResourceKey='' Text='Cập nhật nội dung' />
    <br />
    <table cellpadding="7" border="0" align="center">
        <tr>
            <td>
                <asp:Panel runat="server" ID="PanelMsg" CssClass="lblMsg" Visible="false">
                    <asp:Label runat="server" ID="lblMsg" Font-Bold="true"></asp:Label>
                </asp:Panel>
            </td>
        </tr>
    </table>
    <table cellpadding="7" border="0" align="center">
        <tr>
            <td align="right" style="font-weight: bold">
                Loại :
            </td>
            <td align="left">
                <southern:ddlcontents runat="server" id="dlContents" autopostback="true" onselectedindexchanged="dlContents_SelectedIndexChanged"
                    cssclass="Textbox" />
            </td>
        </tr>
        <tr>
            <td align="right" style="font-weight: bold">
                Tiêu đề(vn) :
            </td>
            <td align="left">
                <asp:TextBox runat="server" ID="txtTitle" Width="400"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top" style="font-weight: bold">
                Nội dung(vn) :
            </td>
            <td align="left">
                <FCKeditorV2:FCKeditor ID="txtNContent" ToolbarSet="MyToolbar" Width="600" Height="300"
                    BasePath="~/FCKeditor/" runat="server" />
            </td>
        </tr>
        <tr class="Hidden">
            <td align="right" style="font-weight: bold">
                Tiêu đề(en) :
            </td>
            <td align="left">
                <asp:TextBox runat="server" ID="txtTitle_en" Width="400"></asp:TextBox>
            </td>
        </tr>
        <tr class="Hidden">
            <td align="right" valign="top" style="font-weight: bold">
                Nội dung(en) :
            </td>
            <td align="left">
                <FCKeditorV2:FCKeditor ID="txtNContent_en" ToolbarSet="MyToolbar" Width="600" Height="300"
                    BasePath="~/FCKeditor/" runat="server" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <asp:LinkButton CssClass="LinkButton" runat="server" Text=" Cật Nhật " ID="btSave"
                    OnClick="btSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
